﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Ray_Tracer
{
    class ColoredDisk : Disk
    {
        public readonly Color color;

        public ColoredDisk(int x, int y, int r, Color c)
            : base(x, y, r)
        {
            color = c;
        }

        public ColoredDisk(int x, int y, int r)
            : base(x, y, r)
        {
            Random rd = new Random();

            color = Color.FromArgb(rd.Next(255), rd.Next(255), rd.Next(255));
        }
    }
}
